Skip to content

Conversation

@adamkudrna
Copy link
Member

@adamkudrna adamkudrna commented Mar 24, 2025

We found the Neutral Colors collection insufficiently flexible to use, so we are removing it from more complex components where its usage was unclear and confusing.

Features:

  • New --rui-Card__background-color custom property has been introduced to define Card's default background color.

Breaking changes:

  • Alert: light and dark colors (Neutral Colors collection) have been dropped with no replacement.
  • Card: light color now corresponds to the default appearance. The dark color option has been dropped with no replacement.

Migration:

  • Alert: pick another color from the Feedback Colors collection.
  • Card: remove color="light" to keep the default light appearance. If using color="dark", pick another color from the Feedback Colors collection.

Closes #615.

@github-actions github-actions bot added the BC Breaking change label Mar 24, 2025
@github-project-automation github-project-automation bot moved this to 💡Ideas in The Board Mar 24, 2025
@adamkudrna adamkudrna removed this from The Board Mar 24, 2025
@adamkudrna adamkudrna linked an issue Mar 24, 2025 that may be closed by this pull request
@adamkudrna adamkudrna force-pushed the bc/drop-neutral-colors-alert-card branch from dd7cddf to c11898c Compare April 11, 2025 15:56
@adamkudrna adamkudrna force-pushed the feature/468-modal-colors branch 2 times, most recently from abe61fc to 3028631 Compare April 11, 2025 16:40
Base automatically changed from feature/468-modal-colors to master April 11, 2025 16:45
We found the Neutral Colors collection insufficiently flexible to use,
so we are removing it from more complex components where its usage
was unclear and confusing.

Features:

- New `--rui-Card__background-color` custom property has been
  introduced to define `Card`'s default background color.

Breaking changes:

- `Alert`: light and dark colors (Neutral Colors collection) have been
  dropped with no replacement.
- `Card`: light color now corresponds to the default appearance.
  The dark color option has been dropped with no replacement.

Migration:

- `Alert`: pick another color from the Feedback Colors collection.
- `Card`: remove `color="light"` to keep the default light appearance.
  If using `color="dark"`, pick another color from the Feedback Colors
  collection.
@adamkudrna adamkudrna force-pushed the bc/drop-neutral-colors-alert-card branch from c11898c to 0bd3f27 Compare April 11, 2025 16:50
@adamkudrna adamkudrna merged commit 50391a7 into master Apr 11, 2025
11 checks passed
@adamkudrna adamkudrna deleted the bc/drop-neutral-colors-alert-card branch April 11, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BC Breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop Neutral Colors collection from Alert and Card components

4 participants